package cn.wolfcode.crm.util;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class JSONResult {
    private boolean success=true;//是否响应成功
    private String msg;

    public JSONResult(){
    }

    public JSONResult(String msg){
        this.msg=msg;
    }

    public void mark(boolean success ,String msg){
        this.success = success;
        this.msg = msg;
    }
}
